package com.qijian.business.domain.query;

import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;
import java.util.Set;


/**
 * 供货商联系人对象 查询条件类
 *
 * @author qijian
 * @date 2021-09-07
 */

@Data
@ToString
@TableName("purm_supplier_contact")
public class SupplierContactQuery {

    @WhereType(tableName = "purm_supplier_contact", filed = "id")
    private Long id;
    @WhereType(tableName = "purm_supplier_contact", filed = "supplier_id")
    private Long supplierId;
    @WhereType(tableName = "purm_supplier_contact", filed = "name", type = WhereTypeEnum.LIKE)
    private String name;
    @WhereType(tableName = "purm_supplier_contact", filed = "sex")
    private Integer sex;
    @WhereType(tableName = "purm_supplier_contact", filed = "birthday")
    private Date birthday;
    @WhereType(tableName = "purm_supplier_contact", filed = "dept")
    private String dept;
    @WhereType(tableName = "purm_supplier_contact", filed = "position")
    private String position;
    @WhereType(tableName = "purm_supplier_contact", filed = "telephone")
    private String telephone;
    @WhereType(tableName = "purm_supplier_contact", filed = "office_phone")
    private String officePhone;
    @WhereType(tableName = "purm_supplier_contact", filed = "home_phone")
    private String homePhone;
    @WhereType(tableName = "purm_supplier_contact", filed = "email")
    private String email;
    @WhereType(tableName = "purm_supplier_contact", filed = "wechat")
    private String wechat;
    @WhereType(tableName = "purm_supplier_contact", filed = "qq")
    private String qq;
    @WhereType(tableName = "purm_supplier_contact", filed = "picture")
    private String picture;

    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
}
